@import './header.less';
@import './common.less';
@import '../public/css/swiper.min.css';
@import './footer.less';
body {
  background-color: #f8f8f8;
}

.caret-diy {
  position: absolute;
  right: 15px;
  top: 10px;
  transform: rotate(-90deg);
} // 第一部分
.tab1 {
  .container {
    .card-up {
      padding: 0;
      max-width: 228px;
      position: relative;
      top: -49px;
      background-color: #fff;
      border: 1px solid #E5E5E5;
      .nav-font {
        padding-left: 15px;
        line-height: 50px;
        color: #222;
        font-weight: 700;
        font-size: 16px;
      }
      /* 选项卡 */
      .tabs {
        >ul {
          margin-top: 10px;
          .active {
            background-color: rgba(255, 150, 0, 0.08);
            color: black;
            font-weight: 700;
            cursor: pointer;
          }
          >li {
            .glyphicon-menu-right {
              color: #BFBFBF!important;
              font-size: 12px;
              line-height: 24px;
            }
            &:nth-child(1) {
              .glyphicon {
                color: #FF8200;
              }
            }
            &:nth-child(2),
            &:nth-child(4) {
              .glyphicon {
                color: #FFB500;
              }
            }
            &:nth-child(3) {
              .glyphicon {
                color: #9B5E3E;
              }
            }
            &:nth-child(5) {
              .glyphicon {
                color: #FF3D00;
              }
            }
            &:nth-child(6),
            &:nth-child(12),
            &:nth-child(15) {
              .glyphicon {
                color: #03A9F4;
              }
            }
            &:nth-child(7),
            &:nth-child(8),
            &:nth-child(13),
            &:nth-child(14),
            &:nth-child(16) {
              .glyphicon {
                color: #00BF96;
              }
            }
            &:nth-child(9),
            &:nth-child(10),
            &:nth-child(11) {
              .glyphicon {
                color: #FF4081;
              }
            } // min-width: 50px;
            padding: 2px 15px;
            position: relative;
            font-size: 13px;
            line-height: 23px;
            a {
              text-decoration: none;
              color: #646464;
              padding-left: 5px;
            }
          }
        }
        >div {
          position: absolute;
          padding: 11px;
          bottom: -01px;
          right: -401px;
          width: 400px;
          height: 430px;
          background-color: #fff;
          border: 1px solid #E5E5E5;
          z-index: 999;
          display: none;
        }
        >.showIt {
          display: block;
        }
      }
    }
  }
} // 第一部分的 轮播 图片区域
.pic {
  padding-right: 5px;
  padding-left: 20px;
  div[class*=col] {
    padding: 0;
  }
  .pull-left {
    margin-top: 18px;
    .swiper {
      width: 550px;
      height: 240px;
      &:hover {
        div[class*=swiper-button] {
          opacity: 1;
        }
      }
      .swiper-slide {
        background-size: cover;
      }
      div[class*=swiper-button] {
        opacity: 0;
        transition: opacity 1s;
      }
    }
    >img {
      margin-top: 18px;
      width: 270px;
      &:nth-child(3) {
        margin-left: 6px;
      }
    }
  }
  .pull-right {
    margin-top: 18px;
    width: 150px;
    margin-right: 15px;
    >img {
      width: 100%;
      &:nth-child(2) {
        margin-top: 18px;
      }
    }
  }
} // 第一部分的 用户登录 区域
.user {
  padding: 0;
  .logincard {
    padding-top: 30px!important;
    .img-circle {
      width: 60px;
      border: 4px solid #E5E5E5;
    }
    a {
      width: 120px;
      margin-top: 10px;
      border-radius: 20px;
    }
  }
  .rows {
    padding: 15px;
    margin-top: 18px;
    border: 1px solid #E5E5E5;
    background-color: #fff;
    .red {
      color: red;
    }
    &:nth-child(1) {
      height: 241px;
    }
    &:nth-child(2) {
      height: 165px;
      img {
        width: 70px;
      }
    }
  }
}

// 第二部分
.tab2 {
  .title-line {
    background: linear-gradient(to right, rgb(250, 60, 104) 2%, rgb(254, 70, 77) 97%) rgb(250, 60, 104);
    border-radius: 5px 5px 0 0;
    height: 44px;
    line-height: 44px;
    margin-bottom: 0;
    a {
      color: #fff;
      text-decoration: none;
    }
    span {
      position: absolute;
      color: #fff;
      font-size: 14px;
      left: 50%;
      transform: translate(-50%, 32px);
      opacity: 0;
    }
    >li {
      position: relative;
      // &:not(:first-child, : last-child) {
      //   &:hover {
      //     span {
      //       opacity: 1;
      //     }
      //   }
      // }
    }
    .pull-right {
      margin: 0 10px;
    }
    .bigfont {
      font-size: 18px;
      margin: 0 10px 0 20px;
    }
  }
  .title-line2 {
    background: linear-gradient(to right, rgb(243, 182, 74) 2%, rgb(242, 197, 69) 97%) rgb(243, 182, 74);
  } // swiper2
  .swiper2 {
    height: 300px;
    .swiper-slide {
      // width: 214px!important;
      text-align: center;
      font-size: 18px;
      background: #fff;
      /* Center slide text vertically */
      display: -webkit-box;
      display: -ms-flexbox;
      display: -webkit-flex;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      -webkit-justify-content: center;
      justify-content: center;
      -webkit-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
      img {
        width: 100%;
      }
    }
  } // 第二栏
  .minsu-all {
    margin-top: 40px;
  }
  .minsu {
    // border: 1px solid black;
    border-top: 0px;
    background-color: #fff;
    >.rows {
      margin-top: 20px;
    }
  }
  .todetail {
    text-decoration: none;
  }
  .productx {
    img {
      width: 330px;
      height: 220px;
    }
    .caption {
      .product-title {
        font-size: 16px;
        color: #222222;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 7px 0;
        font-weight: 400;
        width: 297px;
      }
      .sub-title {
        font-size: 12px;
        color: #999999;
        text-align: left;
      }
      .price {
        font-weight: 500;
        font-size: 22px;
        color: #FF6600;
        letter-spacing: -0.8px;
        padding: 4px 0;
        span {
          font-size: 14px;
        }
      }
    }
  }

  // 第三栏
  .title-line3 {
    background: linear-gradient(to right, rgb(88, 174, 221) 2%, rgb(66, 191, 205) 97%) rgb(88, 174, 221);
  }
  .meishi {
      margin-top: 40px;  
      .producta {
        img {
          height: 134px;
        }
        .caption {
          .product-title {
            font-size: 16px;
            color: #222222;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            margin: 7px 0;
            font-weight: 400;
            width: 200px;
          }
          .sub-title {
            font-size: 12px;
            color: #999999;
            text-align: left;
          }
          .price {
            color: red;
            font-size: 20px;
            span {
              font-size: 12px;
            }
          }
        }
      }
  }
}

// 第三部分 
.tab3 {
  margin-top: 60px;
  >.container {
    border-top: 1px solid #ddd;
    padding-top: 60px;
  }
  dl {
    dt {
      color: #333;
      font-size: 14px;
      line-height: 28px;
      font-weight: 500;
      a {
        color: #666;
        &:hover {
          text-decoration: none;
          color: @color-ori;
        }
      }
    }
    dd {
      font-size: 12px;
      line-height: 24px;
      a {
        color: #666;
        &:hover {
          text-decoration: none;
          color: @color-ori;
        }
      }
    }
  }
}

// 选项卡
.card-content {
  .container-fluid {
    padding-top: 20px;
    .title1 {
      line-height: 40px;
      border-bottom: 1px solid #BFBFBF;
      .pull-right {
        font-size: 12px;
      }
    }
    >ul {
      padding-top: 10px;
      font-size: 12px;
      li {
        a {
          color: #BFBFBF;
          text-decoration: none;
          line-height: 30px;
          &:hover {
            color: @color-ori;
          }
        }
      }  
    }
  }
    
}
